package cn.edu.hubu.hubuhotel.service;

import cn.edu.hubu.hubuhotel.entity.User;
import cn.edu.hubu.hubuhotel.vo.ResultVO;

public interface UserService {


    public ResultVO checkAccount(String account);

    public ResultVO saveUser(User user);

    //未加密的检查
    public ResultVO checkLogin(String loginAccount,String loginPwd);

    //根据账号、密码、用户类型检查
    public ResultVO checkLogin3(String loginAccount,String loginPwd,int typeId);

    public ResultVO searchUser(String phone);

    public ResultVO divideUser(int type);

    public ResultVO increaseUser(User user);

    public ResultVO reviseUser(User user);

    public ResultVO cancleUser(int id);

    public ResultVO updateUser(User user);

}
